home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / DRIVER.CAB / okml332x.gpd < prev    next >
Encoding:
Text File  |  1999-07-30  |  23.4 KB  |  652 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *PrintRate: 290
  6. *PrintRateUnit: CPS
  7. *Include: "StdNames.gpd"
  8. *MasterUnits: PAIR(720, 432)
  9. *ResourceDLL: "okml9res.dll"
  10. *PrinterType: SERIAL
  11. *rcInstalledOptionNameID: 262
  12. *rcNotInstalledOptionNameID: 263
  13. *Feature: Orientation
  14. {
  15.     *rcNameID: =ORIENTATION_DISPLAY
  16.     *DefaultOption: PORTRAIT
  17.     *Option: PORTRAIT
  18.     {
  19.         *rcNameID: =PORTRAIT_DISPLAY
  20.     }
  21.     *Option: LANDSCAPE_CC270
  22.     {
  23.         *rcNameID: =LANDSCAPE_DISPLAY
  24.     }
  25. }
  26. *Feature: InputBin
  27. {
  28.     *rcNameID: =PAPER_SOURCE_DISPLAY
  29.     *DefaultOption: TRACTOR
  30.     *Option: TRACTOR
  31.     {
  32.         *rcNameID: =TRACTOR_DISPLAY
  33.     }
  34.     *Option: MANUAL
  35.     {
  36.         *rcNameID: =MANUAL_FEED_DISPLAY
  37. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  38.     }
  39.     *Option: Option3
  40.     {
  41.     *Installable?:TRUE
  42.         *rcInstallableFeatureNameID: 259
  43.         *rcNameID: 259
  44.         *OptionID: 259
  45.         *Command: CmdSelect
  46.         {
  47.             *Order: DOC_SETUP.3
  48.             *Cmd: "<1B19>1"
  49.         }
  50.     }
  51. }
  52. *Feature: Resolution
  53. {
  54.     *rcNameID: =RESOLUTION_DISPLAY
  55.     *DefaultOption: Option1
  56.     *Option: Option1
  57.     {
  58.         *Name: "240 x 144 " =DOTS_PER_INCH
  59.         *DPI: PAIR(240, 144)
  60.         *TextDPI: PAIR(240, 144)
  61.         *PinsPerLogPass: 16
  62.         *PinsPerPhysPass: 8
  63.         *MinStripBlankPixels: 240
  64.         *RequireUniDir?: TRUE
  65.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  66. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  67.         *SpotDiameter: 170
  68.         *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
  69.     }
  70.     *Option: Option2
  71.     {
  72.         *Name: "120 x 144 " =DOTS_PER_INCH
  73.         *DPI: PAIR(120, 144)
  74.         *TextDPI: PAIR(120, 144)
  75.         *PinsPerLogPass: 16
  76.         *PinsPerPhysPass: 8
  77.         *MinStripBlankPixels: 120
  78.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  79.         *SpotDiameter: 140
  80.         *Command: CmdSendBlockData { *Cmd : "<1B>Y" %l{NumOfDataBytes} }
  81.     }
  82.     *Option: Option3
  83.     {
  84.         *Name: "120 x 72 " =DOTS_PER_INCH
  85.         *DPI: PAIR(120, 72)
  86.         *TextDPI: PAIR(120, 72)
  87.         *PinsPerLogPass: 8
  88.         *PinsPerPhysPass: 8
  89.         *MinStripBlankPixels: 120
  90.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  91.         *SpotDiameter: 100
  92.         *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  93.     }
  94. }
  95. *Feature: PaperSize
  96. {
  97.     *rcNameID: =PAPER_SIZE_DISPLAY
  98.     *DefaultOption: A4
  99.     *Option: LETTER
  100.     {
  101.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  102.         *Command: CmdSelect
  103.         {
  104.             *Order: DOC_SETUP.4
  105.             *Cmd: "<1B>CB"
  106.         }
  107.         *switch: InputBin
  108.         {
  109.             *case: TRACTOR
  110.             {
  111.                 *PrintableArea: PAIR(6120, 4752)
  112.                 *PrintableOrigin: PAIR(0, 0)
  113.             }
  114.             *case: MANUAL
  115.             {
  116.                 *PrintableArea: PAIR(6120, 4401)
  117.                 *PrintableOrigin: PAIR(0, 135)
  118.                 *switch: Resolution
  119.                 {
  120.                     *case: Option3
  121.                     {
  122. *% Warning: the following printable length is adjusted (4401->4398) so it is divisible by the resolution Y scale.
  123.                         *PrintableArea: PAIR(6120, 4398)
  124. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  125.                         *PrintableOrigin: PAIR(0, 138)
  126.                     }
  127.                 }
  128.             }
  129.             *case: Option3
  130.             {
  131.                 *PrintableArea: PAIR(6120, 4401)
  132.                 *PrintableOrigin: PAIR(0, 135)
  133.                 *switch: Resolution
  134.                 {
  135.                     *case: Option3
  136.                     {
  137. *% Warning: the following printable length is adjusted (4401->4398) so it is divisible by the resolution Y scale.
  138.                         *PrintableArea: PAIR(6120, 4398)
  139. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  140.                         *PrintableOrigin: PAIR(0, 138)
  141.                     }
  142.                 }
  143.             }
  144.         }
  145.     }
  146.     *Option: LEGAL
  147.     {
  148.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149.         *Command: CmdSelect
  150.         {
  151.             *Order: DOC_SETUP.4
  152.             *Cmd: "<1B>CT"
  153.         }
  154.         *switch: InputBin
  155.         {
  156.             *case: TRACTOR
  157.             {
  158.                 *PrintableArea: PAIR(6120, 6048)
  159.                 *PrintableOrigin: PAIR(0, 0)
  160.             }
  161.             *case: MANUAL
  162.             {
  163.                 *PrintableArea: PAIR(6120, 5697)
  164.                 *PrintableOrigin: PAIR(0, 135)
  165.                 *switch: Resolution
  166.                 {
  167.                     *case: Option3
  168.                     {
  169. *% Warning: the following printable length is adjusted (5697->5694) so it is divisible by the resolution Y scale.
  170.                         *PrintableArea: PAIR(6120, 5694)
  171. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  172.                         *PrintableOrigin: PAIR(0, 138)
  173.                     }
  174.                 }
  175.             }
  176.             *case: Option3
  177.             {
  178.                 *PrintableArea: PAIR(6120, 5697)
  179.                 *PrintableOrigin: PAIR(0, 135)
  180.                 *switch: Resolution
  181.                 {
  182.                     *case: Option3
  183.                     {
  184. *% Warning: the following printable length is adjusted (5697->5694) so it is divisible by the resolution Y scale.
  185.                         *PrintableArea: PAIR(6120, 5694)
  186. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  187.                         *PrintableOrigin: PAIR(0, 138)
  188.                     }
  189.                 }
  190.             }
  191.         }
  192.     }
  193.     *Option: A4
  194.     {
  195.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  196.         *Command: CmdSelect
  197.         {
  198.             *Order: DOC_SETUP.4
  199.             *Cmd: "<1B>CF"
  200.         }
  201.         *switch: InputBin
  202.         {
  203.             *case: TRACTOR
  204.             {
  205.                 *PrintableArea: PAIR(5954, 5050)
  206.                 *PrintableOrigin: PAIR(0, 0)
  207.                 *switch: Resolution
  208.                 {
  209.                     *case: Option1
  210.                     {
  211. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  212. *% Warning: the following printable length is adjusted (5050->5049) so it is divisible by the resolution Y scale.
  213.                         *PrintableArea: PAIR(5952, 5049)
  214.                     }
  215.                     *case: Option2
  216.                     {
  217. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  218. *% Warning: the following printable length is adjusted (5050->5049) so it is divisible by the resolution Y scale.
  219.                         *PrintableArea: PAIR(5952, 5049)
  220.                     }
  221.                     *case: Option3
  222.                     {
  223. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  224. *% Warning: the following printable length is adjusted (5050->5046) so it is divisible by the resolution Y scale.
  225.                         *PrintableArea: PAIR(5952, 5046)
  226.                     }
  227.                 }
  228.             }
  229.             *case: MANUAL
  230.             {
  231.                 *PrintableArea: PAIR(5954, 4699)
  232.                 *PrintableOrigin: PAIR(0, 135)
  233.                 *switch: Resolution
  234.                 {
  235.                     *case: Option1
  236.                     {
  237. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  238. *% Warning: the following printable length is adjusted (4699->4698) so it is divisible by the resolution Y scale.
  239.                         *PrintableArea: PAIR(5952, 4698)
  240.                     }
  241.                     *case: Option2
  242.                     {
  243. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  244. *% Warning: the following printable length is adjusted (4699->4698) so it is divisible by the resolution Y scale.
  245.                         *PrintableArea: PAIR(5952, 4698)
  246.                     }
  247.                     *case: Option3
  248.                     {
  249. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  250. *% Warning: the following printable length is adjusted (4699->4692) so it is divisible by the resolution Y scale.
  251.                         *PrintableArea: PAIR(5952, 4692)
  252. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  253.                         *PrintableOrigin: PAIR(0, 138)
  254.                     }
  255.                 }
  256.             }
  257.             *case: Option3
  258.             {
  259.                 *PrintableArea: PAIR(5954, 4699)
  260.                 *PrintableOrigin: PAIR(0, 135)
  261.                 *switch: Resolution
  262.                 {
  263.                     *case: Option1
  264.                     {
  265. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  266. *% Warning: the following printable length is adjusted (4699->4698) so it is divisible by the resolution Y scale.
  267.                         *PrintableArea: PAIR(5952, 4698)
  268.                     }
  269.                     *case: Option2
  270.                     {
  271. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  272. *% Warning: the following printable length is adjusted (4699->4698) so it is divisible by the resolution Y scale.
  273.                         *PrintableArea: PAIR(5952, 4698)
  274.                     }
  275.                     *case: Option3
  276.                     {
  277. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  278. *% Warning: the following printable length is adjusted (4699->4692) so it is divisible by the resolution Y scale.
  279.                         *PrintableArea: PAIR(5952, 4692)
  280. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  281.                         *PrintableOrigin: PAIR(0, 138)
  282.                     }
  283.                 }
  284.             }
  285.         }
  286.     }
  287.     *Option: A5
  288.     {
  289.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  290.         *Command: CmdSelect
  291.         {
  292.             *Order: DOC_SETUP.4
  293.             *Cmd: "<1B>C0"
  294.         }
  295.         *switch: InputBin
  296.         {
  297.             *case: TRACTOR
  298.             {
  299.                 *PrintableArea: PAIR(4198, 3573)
  300.                 *PrintableOrigin: PAIR(0, 0)
  301.                 *switch: Resolution
  302.                 {
  303.                     *case: Option1
  304.                     {
  305. *% Warning: the following printable width is adjusted (4198->4197) so it is divisible by the resolution X scale.
  306.                         *PrintableArea: PAIR(4197, 3573)
  307.                     }
  308.                     *case: Option2
  309.                     {
  310. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  311.                         *PrintableArea: PAIR(4194, 3573)
  312.                     }
  313.                     *case: Option3
  314.                     {
  315. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  316. *% Warning: the following printable length is adjusted (3573->3570) so it is divisible by the resolution Y scale.
  317.                         *PrintableArea: PAIR(4194, 3570)
  318.                     }
  319.                 }
  320.             }
  321.             *case: MANUAL
  322.             {
  323.                 *PrintableArea: PAIR(4198, 3222)
  324.                 *PrintableOrigin: PAIR(0, 135)
  325.                 *switch: Resolution
  326.                 {
  327.                     *case: Option1
  328.                     {
  329. *% Warning: the following printable width is adjusted (4198->4197) so it is divisible by the resolution X scale.
  330.                         *PrintableArea: PAIR(4197, 3222)
  331.                     }
  332.                     *case: Option2
  333.                     {
  334. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  335.                         *PrintableArea: PAIR(4194, 3222)
  336.                     }
  337.                     *case: Option3
  338.                     {
  339. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  340. *% Warning: the following printable length is adjusted (3222->3216) so it is divisible by the resolution Y scale.
  341.                         *PrintableArea: PAIR(4194, 3216)
  342. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  343.                         *PrintableOrigin: PAIR(0, 138)
  344.                     }
  345.                 }
  346.             }
  347.             *case: Option3
  348.             {
  349.                 *PrintableArea: PAIR(4198, 3222)
  350.                 *PrintableOrigin: PAIR(0, 135)
  351.                 *switch: Resolution
  352.                 {
  353.                     *case: Option1
  354.                     {
  355. *% Warning: the following printable width is adjusted (4198->4197) so it is divisible by the resolution X scale.
  356.                         *PrintableArea: PAIR(4197, 3222)
  357.                     }
  358.                     *case: Option2
  359.                     {
  360. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  361.                         *PrintableArea: PAIR(4194, 3222)
  362.                     }
  363.                     *case: Option3
  364.                     {
  365. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  366. *% Warning: the following printable length is adjusted (3222->3216) so it is divisible by the resolution Y scale.
  367.                         *PrintableArea: PAIR(4194, 3216)
  368. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  369.                         *PrintableOrigin: PAIR(0, 138)
  370.                     }
  371.                 }
  372.             }
  373.         }
  374.     }
  375.     *Option: B5
  376.     {
  377.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  378.         *Command: CmdSelect
  379.         {
  380.             *Order: DOC_SETUP.4
  381.             *Cmd: "<1B>C="
  382.         }
  383.         *switch: InputBin
  384.         {
  385.             *case: TRACTOR
  386.             {
  387.                 *PrintableArea: PAIR(5162, 4372)
  388.                 *PrintableOrigin: PAIR(0, 0)
  389.                 *switch: Resolution
  390.                 {
  391.                     *case: Option1
  392.                     {
  393. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  394. *% Warning: the following printable length is adjusted (4372->4371) so it is divisible by the resolution Y scale.
  395.                         *PrintableArea: PAIR(5160, 4371)
  396.                     }
  397.                     *case: Option2
  398.                     {
  399. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  400. *% Warning: the following printable length is adjusted (4372->4371) so it is divisible by the resolution Y scale.
  401.                         *PrintableArea: PAIR(5160, 4371)
  402.                     }
  403.                     *case: Option3
  404.                     {
  405. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  406. *% Warning: the following printable length is adjusted (4372->4368) so it is divisible by the resolution Y scale.
  407.                         *PrintableArea: PAIR(5160, 4368)
  408.                     }
  409.                 }
  410.             }
  411.             *case: MANUAL
  412.             {
  413.                 *PrintableArea: PAIR(5162, 4021)
  414.                 *PrintableOrigin: PAIR(0, 135)
  415.                 *switch: Resolution
  416.                 {
  417.                     *case: Option1
  418.                     {
  419. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  420. *% Warning: the following printable length is adjusted (4021->4020) so it is divisible by the resolution Y scale.
  421.                         *PrintableArea: PAIR(5160, 4020)
  422.                     }
  423.                     *case: Option2
  424.                     {
  425. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  426. *% Warning: the following printable length is adjusted (4021->4020) so it is divisible by the resolution Y scale.
  427.                         *PrintableArea: PAIR(5160, 4020)
  428.                     }
  429.                     *case: Option3
  430.                     {
  431. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  432. *% Warning: the following printable length is adjusted (4021->4014) so it is divisible by the resolution Y scale.
  433.                         *PrintableArea: PAIR(5160, 4014)
  434. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  435.                         *PrintableOrigin: PAIR(0, 138)
  436.                     }
  437.                 }
  438.             }
  439.             *case: Option3
  440.             {
  441.                 *PrintableArea: PAIR(5162, 4021)
  442.                 *PrintableOrigin: PAIR(0, 135)
  443.                 *switch: Resolution
  444.                 {
  445.                     *case: Option1
  446.                     {
  447. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  448. *% Warning: the following printable length is adjusted (4021->4020) so it is divisible by the resolution Y scale.
  449.                         *PrintableArea: PAIR(5160, 4020)
  450.                     }
  451.                     *case: Option2
  452.                     {
  453. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  454. *% Warning: the following printable length is adjusted (4021->4020) so it is divisible by the resolution Y scale.
  455.                         *PrintableArea: PAIR(5160, 4020)
  456.                     }
  457.                     *case: Option3
  458.                     {
  459. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  460. *% Warning: the following printable length is adjusted (4021->4014) so it is divisible by the resolution Y scale.
  461.                         *PrintableArea: PAIR(5160, 4014)
  462. *% Warning: the following printable origin Y is adjusted (135->138) so it is divisible by the resolution Y scale.
  463.                         *PrintableOrigin: PAIR(0, 138)
  464.                     }
  465.                 }
  466.             }
  467.         }
  468.     }
  469.     *Option: CUSTOMSIZE
  470.     {
  471.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  472.         *MinSize: PAIR(360, 216)
  473.         *MaxSize: PAIR(6120, 7344)
  474.         *MaxPrintableWidth: 6120
  475.         *MinLeftMargin: 0
  476.         *CenterPrintable?: FALSE
  477.         *switch: InputBin
  478.         {
  479.             *case: TRACTOR
  480.             {
  481.                 *TopMargin: 0
  482.                 *BottomMargin: 0
  483.             }
  484.             *case: MANUAL
  485.             {
  486.                 *TopMargin: 135
  487.                 *BottomMargin: 216
  488.             }
  489.             *case: Option3
  490.             {
  491.                 *TopMargin: 135
  492.                 *BottomMargin: 216
  493.             }
  494.         }
  495.         *Command: CmdSelect
  496.         {
  497.             *Order: DOC_SETUP.4
  498.             *Cmd: "<1B>2"
  499.         }
  500.     }
  501. }
  502. *Feature: PrintQuality
  503. {
  504.     *rcNameID: =TEXT_QUALITY_DISPLAY
  505.     *DefaultOption: NEAR_LETTER_QUALITY
  506.     *Option: NEAR_LETTER_QUALITY
  507.     {
  508.         *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  509.         *Command: CmdSelect
  510.         {
  511.             *Order: DOC_SETUP.2
  512.             *Cmd: "<1B>x<01>"
  513.         }
  514.     }
  515.     *Option: Option2
  516.     {
  517.         *rcNameID: 260
  518.         *Command: CmdSelect
  519.         {
  520.             *Order: DOC_SETUP.2
  521.             *Cmd: "<1B>(<00>"
  522.         }
  523.     }
  524.     *Option: Option3
  525.     {
  526.         *rcNameID: 261
  527.         *Command: CmdSelect
  528.         {
  529.             *Order: DOC_SETUP.2
  530.             *Cmd: "<1B>!<011B>(<00>"
  531.         }
  532.     }
  533. }
  534. *Feature: Halftone
  535. {
  536.     *rcNameID: =HALFTONING_DISPLAY
  537.     *DefaultOption: HT_PATSIZE_AUTO
  538.     *Option: HT_PATSIZE_AUTO
  539.     {
  540.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  541.     }
  542. *Ifdef: WINNT_50
  543.     *Option: HT_PATSIZE_SUPERCELL_M
  544.     {
  545.         *rcNameID: =HT_SUPERCELL_DISPLAY
  546.     }
  547. *Endif:
  548.     *Option: HT_PATSIZE_6x6_M
  549.     {
  550.         *rcNameID: =HT_DITHER6X6_DISPLAY
  551.     }
  552.     *Option: HT_PATSIZE_8x8_M
  553.     {
  554.         *rcNameID: =HT_DITHER8X8_DISPLAY
  555.     }
  556. }
  557. *Command: CmdStartDoc
  558. {
  559.     *Order: DOC_SETUP.1
  560.     *Cmd: "<1B>{A<1B>@<0D1B>t<011B>I<011B>6<1B>R<00>"
  561. }
  562. *Command: CmdStartPage
  563. {
  564.     *Order: PAGE_SETUP.1
  565.     *Cmd: "<0D>"
  566. }
  567. *Command: CmdEndJob
  568. {
  569.     *Order: JOB_FINISH.1
  570.     *Cmd: "<0D>"
  571. }
  572. *RotateCoordinate?: FALSE
  573. *RotateRaster?: FALSE
  574. *RotateFont?: FALSE
  575. *switch: Orientation
  576. {
  577.     *case: PORTRAIT
  578.     {
  579.         *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  580.     }
  581.     *case: LANDSCAPE_CC270
  582.     {
  583.         *TextCaps: LIST(TC_RA_ABLE)
  584.     }
  585. }
  586. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  587. *YMoveAttributes: LIST(SEND_CR_FIRST)
  588. *MaxLineSpacing: 255
  589. *XMoveThreshold: 0
  590. *YMoveThreshold: *
  591. *XMoveUnit: 60
  592. *YMoveUnit: 216
  593. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  594. *Command: CmdXMoveRelRight { *Cmd : "<1B>\" %l{(DestXRel / 12) } }
  595. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  596. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  597. *Command: CmdCR { *Cmd : "<0D>" }
  598. *Command: CmdLF { *Cmd : "<0A>" }
  599. *Command: CmdFF { *Cmd : "<0C>" }
  600. *Command: CmdBackSpace { *Cmd : "<08>" }
  601. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  602. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  603. *EjectPageWithFF?: TRUE
  604. *switch: PaperSize
  605. {
  606.     *case: CUSTOMSIZE
  607.     {
  608.         *EjectPageWithFF?: FALSE
  609.         *switch: InputBin
  610.         {
  611.             *case: MANUAL
  612.             {
  613.                 *EjectPageWithFF?: TRUE
  614.             }
  615.             *case: Option3
  616.             {
  617.                 *EjectPageWithFF?: TRUE
  618.             }
  619.         }
  620.     }
  621. }
  622. *OutputDataFormat: V_BYTE
  623. *OptimizeLeftBound?: FALSE
  624. *CursorXAfterSendBlockData: AT_GRXDATA_END
  625. *CursorYAfterSendBlockData: NO_MOVE
  626. *DefaultFont: 5
  627. *DefaultCTT: 1
  628. *switch: Orientation
  629. {
  630.     *case: PORTRAIT
  631.     {
  632.         *DeviceFonts: LIST(1,2,4,5,6,9,10,11,12,13,16,17,21,23,24,25,
  633. +                   26,28,29,30,32,33,34,35,36,37,40,41,45,46,47,48,
  634. +                   49,50,52,53,54,56,57,58,59,60,61,64,65,69,70,71,
  635. +                   72,77,78,80,81,92,93,94,95,96,97,98,99,100,101,102,
  636. +                   103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,
  637. +                   119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,
  638. +                   135,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  639. +                   170,171,172,173,174,175,176,177,178)
  640.     }
  641.     *case: LANDSCAPE_CC270
  642.     {
  643.         *DeviceFonts: LIST()
  644.     }
  645. }
  646. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  647. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  648. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  649. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  650. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  651. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  652.